package interview;

public class interview_05_06 {
    public int convertInteger(int A, int B) {
        int count=0;
        while(A!=0||B!=0){
            count+=(A&1)^(B&1);
            A=A>>>1;
            B=B>>>1;
        }
        return count;
    }
}
